package com.mcxx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "society.async-thread-pool")
public class AsyncPoolConfigProperties {

    private int corePoolSize;


    private int maxPoolSize;


    private int keepAliveSeconds;


    private int queueCapacity;


    private String threadNamePrefix;
}
